import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";

type Result = {
  code: String;
  data: Array<any>;
};
// 获取商品列表
export const getProductList = (params: object) => {
  return http.request<Result>("get", baseUrlApi("/getProductList"), { params });
};
